package com.hxx.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hxx.entity.TrainSeatEntity;

public interface TrainSeatService extends IService<TrainSeatEntity> {

    Page<TrainSeatEntity> listPage(Page<TrainSeatEntity> page, TrainSeatEntity entity);

    //座位生成:根据车次生成
    void generateSeat(String trainCode);
}
